# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=jondoconsole
pkgver=00.00.163
pkgrel=3
pkgdesc='Redirects internet traffic trough a mix of proxy servers to hide the origin of the requests. CLI version.'
arch=('any')
license=('BSD')
url='https://anonymous-proxy-servers.net/'
depends=('java-environment')
install='jondoconsole.install'
source=('https://anonymous-proxy-servers.net/downloads/JonDoConsole.jar'
        'https://anonymous-proxy-servers.net/downloads/JonDoConsole.jar.asc'
        'jondoconsole'
        'licence')
noextract=('JonDoConsole.jar')
sha512sums=('ae47483d0dec722a04c3d1c31142e63eed2ef992a2dbccf3f71229c270558621daf2b76748a5a80afc20fac733df6cf5ed6def089a94f5d719dd89bb965d3301'
            'SKIP'
            '4776b76771643c9cb55ed1f9322bd6474cfe6c254f7c32920a1716bef8fdfd9ecb945dd2cca6a0fdd20ca2f4d24c6365b0cc71ea31f21d8ad321665a2a4cb590'
            'bb1af04400bc2d87c0d08bc29dad07450d5468096b43280941ba52dbbefe41b1dc7d0f552c5c146f5457a0b3830d169d6d378b8189e936187ebe50349beb9cf1')

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 JonDoConsole.jar \
    "$pkgdir/usr/share/java/$pkgname/JonDoConsole.jar"
  install -Dm 644 licence "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

